-
Notifications
You must be signed in to change notification settings - Fork 201
Fix good first issues: parameterize MT deduction rate and remove confusing comment #6650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix good first issues: parameterize MT deduction rate and remove confusing comment #6650
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6650 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 1 -1
Lines 39 18 -21
=========================================
- Hits 39 18 -21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
✅ PR Ready for MergeAll validation complete:
Fixes:
This PR is production-ready. |
Updated Parameter StandardsFixed parameter file to meet PolicyEngine standards:
Parameter-architect agent enhanced with these requirements for future parameterization. |
...ngine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml
Outdated
Show resolved
Hide resolved
|
✅ References Updated and CorroboratedFixed critical reference issues found by reference-validator:
References now properly support the 0.5 allocation rate. |
✅ All CI Checks PassingFinal reference uses Montana Department of Revenue's official Form 2 Instructions page as primary source. Ready for merge. |
...ngine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml
Show resolved
Hide resolved
...ngine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml
Show resolved
Hide resolved
...ngine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml
Outdated
Show resolved
Hide resolved
|
@MaxGhenis reminder |
…using comment - Parameterize the 0.5 spouse allocation rate for Montana itemized deductions - Add spouse_allocation_rate parameter to MT itemized deductions - Remove confusing comment in .github/update_api.py Fixes PolicyEngine#6553 Fixes PolicyEngine#6362 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
…ation rate parameter
…on and add 2024 null value
ea5f23c to
260fd2d
Compare
|
Updated the reference to cite Montana Administrative Rule 42.15.524 which explicitly states that itemized deductions 'must be divided equally' between spouses filing separately on the same form. This directly corroborates the 0.5 value. @PavelMakarchuk could you re-review? |
PavelMakarchuk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just one nit
...ngine_us/parameters/gov/states/mt/tax/income/deductions/itemized/spouse_allocation_rate.yaml
Show resolved
Hide resolved
Addresses Pavel's review nit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Added |
Added note that 0.5 is a mathematical representation of "divided equally" per ARM 42.15.524, not a legislated value. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
0.5 means each spouse gets 50% of joint deductions (not head vs spouse). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Summary
Fixes two good first issues with simple, clear improvements.
Changes
1. Parameterize Montana itemized deductions spouse allocation (#6553)
spouse_allocation_rate.yamlparameter (value: 0.5)mt_itemized_deductions_indiv.pyto use parameter instead of hard-coded 0.52. Remove confusing comment (#6362)
.github/update_api.pyTest Plan
make format)Related Issues
Fixes #6553
Fixes #6362
🤖 Generated with Claude Code